
import { http } from '../utils'
//会话接口

//查找我的会话列表
export const findMyConversation = (userId: number) => http.get(`/message/${userId}`)


export const createSession = (createSessionDto: { senderId: number, receiverId: number }) => http.post('/message/createSession', createSessionDto)